package com.feri.fc.param;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

/**
 * 千锋Java,为你而生！
 *
 * @Author: Feri
 * @Date:2024/11/26 10:06
 * @Modified:
 */
@Data
public class PhysicianAdd {
    //手机号
    @NotEmpty(message = "手机号必填")
    @Length(max = 11,min = 11,message = "请输入正确手机号")
    private String phone;
    //服务城市
    @NotEmpty(message = "城市必选")
    @Length(min = 2,max = 10,message = "请选择正确的城市名")
    private String city;
    //擅长领域
    @NotEmpty(message = "擅长的领域必填，如果没有就写 无")
    private String excel;
    //身份证_正面
    @NotEmpty(message = "身份证正面必上传")
    private String cardFront;
    //身份证-反面
    @NotEmpty(message = "身份证反面必上传")
    private String cardBack;
    //健康证
    @NotEmpty(message = "健康证必上传")
    private String healthCard;
}
